package io.renren.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.dao.ProductDao;
import io.renren.entity.ProductEntity;
import io.renren.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("productService")
public class ProductServiceImpl extends ServiceImpl<ProductDao, ProductEntity> implements ProductService {

    @Override
    public List<ProductEntity> getProductList(Integer categoryid,Integer shelvesid){

        List<ProductEntity> list = baseMapper.getProductList(categoryid.toString(),shelvesid);

        return list;
    }

}
